﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorkingFileManager
{
    public class OpenFileMessageParameters
    {
        public string InitialDirectory;
        public string Filter;

        /// <summary>
        /// This action defines code that should run when a new file is selected in the
        /// openfiledialog. The string parameter is the name of the selected file.
        /// </summary>
        public Action<string> FileOpenCallback;

        /// <summary>
        /// Contains parameters that we will need if we end up saving or asking about the current
        /// working file before proceeding with opening another one.
        /// </summary>
        public SaveFileInfo saveFileInfo = new SaveFileInfo();
    }
}
